<?php

namespace App\Http\Controllers\M;

use DB;
use Illuminate\Http\Request;
use EasyWeChat\Foundation\Application;
use App\Http\Controllers\Controller;
use App\Http\Controllers\QueryController;

use App\Http\Models\Post;
use App\Http\Models\Menu;
use App\Http\Models\Top;

class IndexController extends Controller {

    protected $query = null;

    public function __construct(){
        $this->query = new QueryController();
    }

    public function ad(){
        return view('m.ad',['query'=>$this->query]);
    }

}
